import request from "./request";

export function list (query) {
    return request({
        url: '/single/browse/list',
        method: 'get',
        params: query
    })
}

export function getGroupInfo (query) {
    return request({
        url: '/single/browse/getGroupInfo',
        method: 'get',
        params: query
    })
}

export function getGroups () {
    return request({
        url: '/single/browse/groups',
        method: 'get'
    })
}

export function getVirusGroup (query) {
    return request({
        url: '/single/browse/getVirusGroup',
        method: 'get',
        params: query
    })
}

export function getHostsGroup (query) {
    return request({
        url: '/single/browse/getHostsGroup',
        method: 'get',
        params: query
    })
}

export function getSpecies (query) {
    return request({
        url: '/single/browse/species',
        method: 'get',
        params: query
    })
}

export function getViralGenomeView (query) {
    return request({
        url: '/single/browse/getViralGenomeView',
        method: 'get',
        params: query
    })
}

